﻿using System;

namespace Program22
{
    class Program
    {
        static void Main(string[] args)
        {
            decimal  salary = 8000.0M;
            Charge(ref  salary);           
            Console.WriteLine("这个月工资为{0}元", salary );
        }

        public static void Charge(ref  decimal s)
        {
            s -= 500;
            Console.WriteLine("这个月扣款为{0}元",500 );
        }
    }
}
